package com.vik.webgallery.beans;


public class User extends BaseBean{
	
	public static final String STANDARD_USER = "ROLE_USER";
	
	public static final String ADMINISTRATOR = "ROLE_ADMINISTRATOR";
	
	private String userName;
	
	private String fullName;
	
	private String password;
	
	private boolean enabled;
	
	private String role;
	

	public User(){
		regenerateId();
	}
	
	public User(String userName, String fullName, String password, String role){
		this.userName = userName;
		this.fullName = fullName;
		this.password = password;
		this.role = role;
		
		regenerateId();
		
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	
	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

}
